//
//  LineTroopForm.hpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/9.
//
//

#ifndef LineTroopForm_hpp
#define LineTroopForm_hpp

#include "cocos2d.h"
#include "TroopForm.hpp"
#include "TroopStyle.hpp"

USING_NS_CC;

class LineTroopForm : public TroopForm
{
public:
    LineTroopForm():TroopForm(2,2,5){}
    
    virtual void group();  //整理队伍
    virtual void train();
    
    virtual std::vector<TroopStyleType> allowedTroopStyles();
    virtual std::vector<TroopActionStyle> allowedTroopActionStyle();
protected:
    LineTroopForm(int numOfType, int maxNumOfMonster, int minNumOfMonster)
    : TroopForm(numOfType, maxNumOfMonster, minNumOfMonster){};
    
    void groupInternal(const Vector<Node *> &members);
    
};
#endif /* LineTroopForm_hpp */
